<!DOCTYPE html>
<html>

{include file='public/header'}
<style>
    .layui-table-view{
        margin: 0;
    }
</style>
<body>
    <table id="revenue" lay-filter="revenue"></table>
    <script>
        let params = {
            elem: '#revenue'
            , url: '/admin/alliance/viewRevenue?id='+GetQueryString('id') //数据接口
            , id: 'revenue'
            , page:true
            , limit:15
            , cols: [[ //表头
                { field: 'video_id', title: '短剧ID', sort: true }
                , { field: 'video_name', title: '短剧名称', }
                , { field: 'total_fee', title: '充值金额', }
                , { field: 'divide_price', title: '分成金额', }
                , { field: 'created_at', title: '创建时间', templet: function (d) {
                        return dayjsFormat(d.created_at)
                    } 
                }
            ]]
        }
        tableList(params)
    </script>
</body>

</html>